<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<p id="list_skill">

	<display:table name="skills" id="row" requestURI="/skills.do" pagesize="20">

		<display:column sortable="true" property="skill.name" titleKey="skills.list.skill" />
		<display:column sortable="true" property="grade" titleKey="skills.list.grade" />
		<display:column sortable="true" property="comment" titleKey="skills.list.comment" />
		<display:column sortable="true" property="ranking" titleKey="skills.list.ranking" />
		<display:column>
			<html:link href="skills.do?cmd=toUpdateSkill&idSkill=${row.skill.id}"><bean:message key="skills.list.update" /></html:link>
		</display:column>
		<display:column>
			<html:link href="skills.do?cmd=deleteSkill&idSkill=${row.skill.id}"><bean:message key="skills.list.delete" /></html:link>
		</display:column>

		<display:setProperty name="paging.banner.placement" value="top" />
		<display:setProperty name="paging.banner.item_name"><bean:message key="skills.list.item_name" /></display:setProperty>
		<display:setProperty name="paging.banner.items_name"><bean:message key="skills.list.items_name" /></display:setProperty>
		<display:setProperty name="basic.msg.empty_list"><bean:message key="skills.list.noskills" /></display:setProperty>

	</display:table>

</p>

<p><html:link page="/skills.do?cmd=form"><bean:message key="skills.list.addskill" /></html:link></p>